package xyz.zhouzhousag.dao;

import org.apache.ibatis.annotations.Select;
import xyz.zhouzhousag.domain.User;

import java.util.List;

/**
 * Description:用户的持久层接口
 * <p>
 * ClassName: IUserDAO
 * date: 2021/3/1 10:47
 *
 * @author Yin.Liu
 * @version 1.0
 * @since JDK 1.8
 */
public interface IUserDAO {

    /**
     * 查询所有操作
     * @return
     */
    @Select("select * from user")
    List<User> findAll();
}
